package com.at;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@Slf4j
@ServletComponentScan  //开启组件扫描，来扫描过滤器@WebFilter  @WebServlet  @WebListener
@EnableTransactionManagement
public class MyDishApplication {
    public static void main(String[] args) {
        log.info("项目启动中....");
        SpringApplication.run(MyDishApplication.class,args);
    }

}
